package com.machineapps.framework.repository;

import java.util.List;

import com.machineapps.framework.model.Entity;

public interface Repository<T extends Entity> {

	public abstract T save(T entity);

	public abstract void remove(long id);
	
	public abstract T get(long id);

	public abstract List<T> getAll();
	
	public void close();
}